package com.ct.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ct.system.orm.AdminSystem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 平系统表 Mapper 接口
 * </p>
 *
 * @author Auto Generator
 * @since 2023-08-15
 */
public interface AdminSystemMapper extends BaseMapper<AdminSystem> {


    /**
     * 查询用户绑定的系统
     * @param userId
     * @return
     */
    List<AdminSystem> findAdminSystemByUserId(@Param("userId") Long userId);
}
